package day20170427.factory;

import org.junit.Test;

public class PhoneTest {
	
	/**
	 * 手机工厂测试
	 * @throws Exception
	 */
	@Test
	public void phoneTest() throws Exception {
		Phone phone = PhoneFactory.getPhone("华为手机PETL-10");
		System.out.println(phone);
	}
}
